package com.newbye.windows
{
	import flash.display.NativeWindow;
	import flash.display.NativeWindowInitOptions;
	
	import mx.containers.TitleWindow;
	import mx.core.UIComponent;
	
	public class NewFiles extends UIComponent
	{
		private static var _instance:NewFiles;
		public static function get instance():NewFiles
		{
			if(null == _instance)
			{
				_instance = new NewFiles();
			}
			return _instance;
		}
		public function NewFiles()
		{
//			var initOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
//			initOptions.maximizable = false;
//			initOptions.minimizable = false;
//			initOptions.resizable = false;
//			
//			super(initOptions);
			if(null == _instance)
			{
				_instance = this;
			}
			else
			{
				throw new Error("Sigleton Error");
			}
		}
	}
}